nnfolder is a back
end for storing each mail group in a separate file. Each file is
in the standard Un*x mbox format. nnfolder will add
extra headers to keep track of article numbers and arrival
dates.
When the marks file
is used (which it is by default), nnfolder servers
have the property that you may backup them using tar
or similar, and later be able to restore them into Gnus (by
adding the proper nnfolder server) and have all your
marks be preserved. Marks for a group are usually stored in a
file named as the mbox file with .mrk concatenated
to it (but see nnfolder-marks-file-suffix) within
the nnfolder directory. Individual
nnfolder groups are also possible to backup, use
G m to restore the group (after restoring the backup
into the nnfolder directory).
Virtual server settings:
nnfolder-directorynnfolder mail boxes will be stored under this
directory. The default is the value of
message-directory (whose default is
~/Mail)nnfolder-active-filennfolder-newsgroups-filennfolder-get-new-mailnil, nnfolder will read incoming
mail. The default is tnnfolder-save-buffer-hooknnfolder buffers. If you
wish to switch this off, you could say something like the
following in your .emacs file:
(defun turn-off-backup ()
(set (make-local-variable 'backup-inhibited) t))
(add-hook 'nnfolder-save-buffer-hook 'turn-off-backup)
nnfolder-delete-mail-hooknnfolder-nov-is-evilnil, this back end will ignore any
NOV files. The default is
nil.nnfolder-nov-file-suffixnnfolder-nov-directorynil, nnfolder-directory is
used.nnfolder-marks-is-evilnil, this back end will ignore any
marks files. The default is
nil.nnfolder-marks-file-suffixnnfolder-marks-directorynil, nnfolder-directory is
used.If
you have lots of nnfolder-like files you'd like to
read with nnfolder, you can use the M-x
nnfolder-generate-active-file command to make
nnfolder aware of all likely files in
nnfolder-directory. This only works if you use long
file names, though.